package com.suyi.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentinfo_ok(Integer id) {
        return "-------- PaymentFallbackService fall  back-payment_ok ";
    }

    @Override
    public String paymentinfo_error(Integer id) {
        return "PaymentFallbackService fall  back-payment_error";
    }
}
